package com.youmeek.ssh.domain;

import javax.persistence.*;


@Entity
@Table(name = "sys_user", schema = "")
public class SysUser {
    private String userId;
    private String userName;
    private UserGroup group;

    String aete ="<html>\n" +
            "<body>\n" +
            "\n" +
            "\"<b>车牌号：</b>闽D1231<br/>\n" +
            "<b>公司：</b>厦门卫星定位应用<br/>\n" +
            "<b>企业：</b>厦门卫星定位应用<br/>\n" +
            "<b>位置：</b>厦门思明区观日路44号<br/>\n" +
            "</body>\n" +
            "</html>";
    @Id
    @Column(name = "user_id")
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Basic
    @Column(name = "user_name")
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @ManyToOne
    public UserGroup getGroup() {
        return group;
    }

    public void setGroup(UserGroup group) {
        this.group = group;
    }
}
